package com.example.testsbjenkins.CompletableFuture;

/**
 * @author: lt
 * @date: 2022/6/24 16:39
 * @Description: todo
 */
public class MedalService {
    public MedalInfo getMedalInfo(long userId) throws InterruptedException {
        Thread.sleep(500); //模拟调用耗时
        return new MedalInfo("666", "守护勋章");
    }
}
